package com.zhs.study.pojo;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

/**
 * @author zhenghuisheng
 * @date : 2023/5/29
 */
@Component
public class Teacher implements FactoryBean<Teacher> {
    @Override
    public Teacher getObject() throws Exception {
        return new Teacher();
    }

    @Override
    public Class<?> getObjectType() {
        return Teacher.class;
    }
}
